package dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import pojo.Products;

import java.util.List;

@Repository("adminProductsDao")
@Mapper
public interface AdminProductsDao {
    public int addProducts(Products products);
    public int deleteProducts(Integer pid);
    public List<Products> selectAllProducts();
    public int updateProducts(Products products);
    public List<Products> selectOneProduct(Integer pid);
}
